home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 31
/
Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso
/
Opus5.5
/
ARexx.lha
/
ARexx
/
OCD.dopus5
< prev
next >
Wrap
Text File
|
1996-05-02
|
1KB
|
35 lines
/* OCD for Directory Opus 5
by Leo 'Nudel' Davidson for Gods'Gift Utilities
email: leo.davidson@keble.oxford.ac.uk www: http://users.ox.ac.uk/~kebl0364
$VER: OCD.dopus5 1.2 (18.8.95)
Note: Please don't confuse this with the CDO script!
Note: "CDOpus" is an assembler version of this script, with extra features.
When run from a Shell, will put the DOpus5 screen to the front and
open a new lister with the same path as the Shell.
To set up the command "OCD", add the following to your s:shell-startup:
-------------------------------------------------------------------------------
Alias OCD "rx DOpus5:ARexx/ocd.dopus5"
-------------------------------------------------------------------------------
v1.00 -> v1.01 - Now makes sure the DOPUS.1 port exists. (Ahem)
v1.01 -> v1.2 - Now uses Show() instead of ShowList(). (Thanks Stoebi)
Style Guide compliant version numbering and $VER string.
*/
signal on error
If Show("P","DOPUS.1") Then
address "DOPUS.1" /* Assumes there's only one copy. */
Else Do
Say "DOPUS.1 port not found!"
Exit /* If no DOPUS.1 port, exit */
End
dopus front
lister new pragma("d")
Error:
EXIT